package com.corpdata.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.corpdata.common.result.Result;

@Controller
@RequestMapping("/biz/leave")
public class LeaveController {
	
	@GetMapping("/add/{taskId}")
	public String add(@PathVariable String taskId){
		System.out.println(taskId);
		return "biz/leave/leave_add";
	}
	
	@PostMapping("/save")
	public Result save(){
		return null;
	}
}
